package com.secsbrain.cmdb.dal.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 主机镜像选项表
 *
 */
@TableName(value = "cmdb_host_image_option")
public class HostImageOption implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 创建人 */
	private String creator;

	/** 更新人 */
	private String updator;

	/** 操作系统名称：如CentOS */
	private String os;

	/** 操作系统版本：如6.5 */
	private String osrelease;

	/** CPU数量，如1 */
	@TableField(value = "num_cpus")
	private Integer numCpus;

	/** 内存大小，如4 */
	@TableField(value = "mem_total")
	private Integer memTotal;

	/** 磁盘容量，如500G */
	@TableField(value = "disk_capacity")
	private Integer diskCapacity;

	/** 选项名称，如CentOS6.52C4G */
	private String name;

	/** 备注 */
	private String comment;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return this.updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getOs() {
		return this.os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public String getOsrelease() {
		return this.osrelease;
	}

	public void setOsrelease(String osrelease) {
		this.osrelease = osrelease;
	}

	public Integer getNumCpus() {
		return this.numCpus;
	}

	public void setNumCpus(Integer numCpus) {
		this.numCpus = numCpus;
	}

	public Integer getMemTotal() {
		return this.memTotal;
	}

	public void setMemTotal(Integer memTotal) {
		this.memTotal = memTotal;
	}

	public Integer getDiskCapacity() {
		return this.diskCapacity;
	}

	public void setDiskCapacity(Integer diskCapacity) {
		this.diskCapacity = diskCapacity;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}
